from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker

import myproject.config as config


engine = create_engine(config.db_url, echo=config.debug)
Session = sessionmaker(bind=engine, expire_on_commit=False)
